.ac-game-menu {
    width: 100%;
    height: 100%;
    background-image: url("/static/image/menu/background.gif");
    background-size: 100% 100%;
    /* 防止文字等被选中 */
    user-select: none;
}

.ac-game-menu-field {
    width: 20vw;
    /* 如何确定位置 */
    position: relative;
    /* top: 左上角距离上方的高度 */
    top: 40%;
    /* left: 左上角距离左方的宽度 */
    left: 20%;
}

.ac-game-menu-field-item {
    /* 颜色 */
    color: white;
    /* 高度 */
    height: 6vh;
    /* 宽度 */
    width: 18vw;
    /* 字体大小 */
    font-size: 4vh;
    /* 字体样式 */
    font-style: italic;
    /* 字体周围轮廓大小 */
    /* padding: 2vh; */
    /* 这里不要padding */
    /* 文字居中 */
    text-align: center;
    /* 背景颜色 */
    background-color: rgba(39, 21, 28, 0.6);
    /* 边框圆角程度 */
    border-radius: 10px;
    /* 字间距 */
    letter-spacing: 0.5vw;
    /* 光标样式 */
    cursor: pointer;
}

/* 鼠标悬停时的样式 */
.ac-game-menu-field-item:hover {
    /* 放大 */
    transform: scale(1.2);
    /* 动画时间 */
    transition: 100ms;
    /* 鼠标悬停时的背景颜色 */
    background-color: rgba(39, 21, 28, 0.9);
}

.ac-game-playground {
    width: 100%;
    height: 100%;
    /* 防止文字等被选中 */
    user-select: none;
    background-color: grey;
}

.ac-game-playground > canvas {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ac-game-settings {
    width: 100%;
    height: 100%;
    background-image: url("/static/image/menu/background.gif");
    background-size: 100% 100%;
    /* 防止文字等被选中 */
    user-select: none;
}

.ac-game-settings-login {
    height: 41vh;
    width: 20vw;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}

.ac-game-settings-register {
    height: 49vh;
    width: 20vw;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}

.ac-game-settings-title {
    color: white;
    font-size: 3vh;
    text-align: center;
    padding-top: 2vh;
    margin-bottom: 2vh;
}

.ac-game-settings-username {
    display: block;
    height: 7vh;
}

.ac-game-settings-item {
    width: 100%;
    height: 100%;
}

.ac-game-settings-item > input {
    width: 90%;
    line-height: 3vh;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ac-game-settings-password {
    display: block;
    height: 7vh;
}

.ac-game-settings-submit {
    display: block;
    height: 7vh;
}

.ac-game-settings-item > button {
    color: white;
    width: 90%;
    line-height: 3vh;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #4caf50;
    border-radius: 5px;
}

.ac-game-settings-error-message {
    color: red;
    font-size: 0.8vh;
    display: inline;
    float: left;
    padding-left: 1vw;
}

.ac-game-settings-option {
    color: white;
    font-size: 2vh;
    display: inline;
    float: right;
    padding-right: 1vw;
    cursor: pointer;
}

.ac-game-settings-acwing {
    display: block;
    height: 7vh;
}

.ac-game-settings-acwing > img {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: block;
}

.ac-game-settings-acwing > div {
    color: white;
    font-size: 1.5vh;
    text-align: center;
    display: block;
}

.ac-game-chat-field-history {
    position: absolute;
    top: 66%;
    left: 20%;

    transform: translate(-50%, -50%);

    width: 20%;
    height: 32%;

    color: white;
    font-size: 2vh;

    padding: 5px;
    overflow: auto;
}

.ac-game-chat-field-history::-webkit-scrollbar {
    width: 0;
}

.ac-game-chat-field-input {
    position: absolute;
    top: 86%;
    left: 20%;
    transform: translate(-50%, -50%);

    width: 20%;
    height: 3vh;

    color: white;
    font-size: 2vh;

    background-color: rgba(225, 225, 230, 0.2);
}

